package com.sy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel(description = "课程明细实体")
@Data
public class Coursedetail  implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("课程明细名称")
    private String name;
    @ApiModelProperty("课程明细排序字段，越小越靠前")
    private Integer sort;
    @ApiModelProperty("课程明细视频地址")
    private String url;
    @ApiModelProperty("课程明细创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty("课程明细对应的课程id")
    private Integer cid;
}
